from random import randint
chislo_vystelov = int(input())
xa = -7
ya = -8
xb = 5
yb = -8
xc = 5
yc = 5
xd = -7
yd = 5
count = 0
for i in range(chislo_vystelov):
    x = randint(-100,100)
    y = randint(-100,100)
    if (x > xa) and (x < xb) and ( x > xd) and (y < xb):
        count = count +1
print('количество выстрелов:',chislo_vystelov,'количетво попаданий:',count)
